<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>后台登录/注册</title>
  <link rel="stylesheet" href="./assets/css/login.css">
  <link rel="stylesheet" href="./assets/lib/layui/css/layui.css">
  <script src="./assets/lib/layui/layui.all.js"></script>
  <script src="./assets/lib/jquery.js"></script>
</head>

<body>
  <div class="layui-main">
    <!-- 头部logo区域 -->
    <img src="./assets/images/logo.png" alt="" class="logo">
  </div>
  <!-- 登录注册区域 -->
  <div class="logo-box">
    <!-- 后台管理系统 -->
    <div class="header-box"></div>
    <!-- 登录区域 -->
    <div class="form-box enter">
      <form class="layui-form" id="form_enter" action="">
        <div class="layui-form-item">
          <div class="layui-input-block">
            <i class="layui-icon layui-icon-username ico"></i>
            <input type="text" name="title" required lay-verify="required" placeholder="请输入用户名" autocomplete="off"
              class="layui-input enName">
          </div>
        </div>
        <div class="layui-form-item">
          <div class="layui-input-inline">
            <i class="layui-icon layui-icon-password ico"></i>
            <input type="password" name="password" required lay-verify="required|pwd" placeholder="请输入密码" autocomplete="off"
              class="layui-input enPass">
          </div>
        </div>
        <div class="layui-form-item">
          <div class="layui-input-block">
            <button class="layui-btn layui-btn-fluid" lay-submit lay-filter="formDemo">登录</button>
          </div>
        </div>
        <div class="layui-form-item">
          <a href="javascript:;" class="link-reg">没账号？请注册</a>
        </div>
      </form>
    </div>
    <!-- 注册区域 -->
    <div class="form-box enter enroll">
      <form class="layui-form" id="form_reg" action="">
        <div class="layui-form-item">
          <div class="layui-input-block">
            <i class="layui-icon layui-icon-username ico"></i>
            <input type="text" name="title" required lay-verify="required" placeholder="请输入用户名" autocomplete="off"
              class="layui-input username">
          </div>
        </div>
        <div class="layui-form-item">
          <div class="layui-input-inline">
            <i class="layui-icon layui-icon-password ico"></i>
            <input type="password" name="password" required lay-verify="required|pwd" placeholder="请输入密码" autocomplete="off"
              class="layui-input opwd">
          </div>
        </div>
        <div class="layui-form-item">
          <div class="layui-input-inline">
            <i class="layui-icon layui-icon-password ico"></i>
            <input type="password" name="password" required lay-verify="required|pwd|repwd" placeholder="请再次输入密码"
              autocomplete="off" class="layui-input repwd">
          </div>
        </div>
        <div class="layui-form-item">
          <div class="layui-input-block">
            <button class="layui-btn layui-btn-fluid" lay-submit lay-filter="formDemo">注册</button>
          </div>
        </div>
        <div class="layui-form-item">
          <a href="javascript:;" class="link-roll">有账号？请登录</a>
        </div>
      </form>
    </div>
  </div>
  <script src="/assets/js/baseAPI.js"></script>
  <script src="./assets/js/logo.js"></script>
</body>
</html>